package com.ruoyi.cs.domain;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 活动信息对象 t_movable
 * 
 * @author ruoyi
 * @date 2021-03-25
 */
@Data
public class TMovable extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 活动ID */
    @ApiModelProperty(value = "活动ID")
    private String movableId;

    /** 活动图 */
    @ApiModelProperty(value = "活动图")
    @Excel(name = "活动图")
    private String movablePic;

    /** 跳转链接 */
    @ApiModelProperty(value = "跳转链接")
    @Excel(name = "跳转链接")
    private String movableUrl;

    /** 备注2 */
    @ApiModelProperty(value = "备注2")
    @Excel(name = "备注2")
    private String remark2;

    /** 备注3 */
    @ApiModelProperty(value = "备注3")
    @Excel(name = "备注3")
    private String remark3;

    /** 备注4 */
    @ApiModelProperty(value = "备注4")
    @Excel(name = "备注4")
    private String remark4;

    /** 删除标志 */
    @ApiModelProperty(value = "删除标志")
    private String delFlag;

    /** 版本号 */
    @ApiModelProperty(value = "版本号")
    @Excel(name = "版本号")
    private Long version;

    /** 后台标志*/
    @ApiModelProperty(value = "后台标志")
    private String backStage;

    /**手机图片*/
    @ApiModelProperty(value = "手机图片")
    private String  phonePic;

    /**电脑图片*/
    @ApiModelProperty(value = "电脑图片")
    private String  computerPic;

    /**banner图片*/
    @ApiModelProperty(value = "banner图片")
    private String  bannerPic1;

    @ApiModelProperty(value = "banner图片")
    private String bannerPic2;

    @ApiModelProperty(value = "banner图片")
    private String bannerPic3;

    /**图片开关 0 开 1 关*/
    @ApiModelProperty(value = "图片开关 0 开 1 关")
    private String picSwitch;

    /**手机banner图片*/
    @ApiModelProperty(value = "手机banner图片")
    private String  phoneBannerPic1;

    @ApiModelProperty(value = "手机banner图片")
    private String phoneBannerPic2;

    @ApiModelProperty(value = "手机banner图片")
    private String phoneBannerPic3;

    /**电脑图数组*/
    @ApiModelProperty(value = "电脑图数组")
    private List<String> bannerPicList;
    /**手机图数组*/
    @ApiModelProperty(value = "手机图数组")
    private List<String> phoneBannerPicList;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("movableId", getMovableId())
            .append("movablePic", getMovablePic())
            .append("movableUrl", getMovableUrl())
            .append("remark", getRemark())
            .append("remark2", getRemark2())
            .append("remark3", getRemark3())
            .append("remark4", getRemark4())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .append("version", getVersion())
            .toString();
    }
}
